const Koa = require("koa");
const app = new Koa();

const { mongoose } = require("./mongoose2");

mongoose();

app.use((ctx) => {
  ctx.body = {
    msg: "koa mongoose 5.18.3",
  };
});

app.listen(3000);
